package com.zj.httpdemo;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.zj.httpdemo.http.get.HttpActivity;

public class MainActivity extends AppCompatActivity {
    private static final String TAG = MainActivity.class.getSimpleName();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void btnClick(View view) {
        Intent intent = null;
        switch (view.getId()) {
            case R.id.btn_http:
                intent = new Intent(this, HttpActivity.class);
                break;
        }

        startActivity(intent);
    }
}
